import Component, { mixins } from 'vue-class-component'
import { tableMixins } from '@/mixins'

@Component
export default class extends mixins(tableMixins) {
  // ++++++++++ model ++++++++++
  // ++++++++++ props ++++++++++
  // ++++++++++ data ++++++++++
  queryPage = this.$Api.outpatient.list
  handleFunc = this.$Api.outpatient

  // ++++++++++ computed ++++++++++
  get columns(): Array<IColumn> {
    return [
      { key: 'outpatientname', label: '门诊' },
      { key: 'outpatientid', label: '门诊id', isShowTable: false, isShowForm: false },
    ]
  }

  // ++++++++++ methods normal ++++++++++
  // ++++++++++ methods event ++++++++++
  // ++++++++++ Lifecycle Hooks ++++++++++
  // ++++++++++ watch ++++++++++
}
